<div ng-class="{'fui-navbar':1,'is_backpage':pagedata.is_backpage && main.openbackpage==1}" ng-if="pagedata.menus.menus.length>0">
    <a href="javascript:;" class="external nav-item" ng-repeat="menu in pagedata.menus.menus" ng-click="access_json(menu.url)" ng-class="{'active':menu.url==page.action}">
        <span ng-if="menu.url!=page.action && $index!=0" class="icon jinyunicon {{menu.icon}}"  style="color: {{pagedata.menus.iconcolor}};"></span>
		<span ng-if="menu.url==page.action || $index==0" class="icon jinyunicon {{menu.icon}}"  style="color: {{pagedata.menus.chosecolor || main.syscolor}};"></span>
        <span ng-if="menu.url!=page.action && $index!=0" class="label" style="color: {{pagedata.menus.textcolor}};">{{menu.title}}</span>
		<span ng-if="menu.url==page.action || $index==0" class="label" style="color: {{pagedata.menus.chosecolor || main.syscolor}};">{{menu.title}}</span>
    </a>
</div>
<div ng-class="{'fui-navbar':1,'is_backpage':pagedata.is_backpage && main.openbackpage==1}" ng-if="main.menus.length>0 && (!pagedata.menus.menus || pagedata.menus.menus.length==0)">
    <a ng-repeat="item in main.menus" href="javascript:;" ng-click="access_json(item.action)" ng-class="{'external nav-item':1,'active':show_active(item.action)}">
        <span class="icon {{item.icon || 'icon-shouye'}}"></span>
        <span class="label">{{item.title}}</span>
    </a>
</div>